﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WCFWebClient
{
    public partial class WCFTest : System.Web.UI.Page
    {
//        protected string Year;
        protected void Page_Load(object sender, EventArgs e)
        {
            var test = new WCF.Service1Client();
            txBox.Text=test.GetCurrentTime("yyyy-MM-dd");
            var com = new WCF.CompositeType {BoolValue = true, StringValue = "test"};
            com = test.GetDataUsingDataContract(com);
            var extensionDataObject = com.ExtensionData;
            
//            lbLabel.Text = extensionDataObject;
        }
    }
}